package com.zhkjnet.zhyy.entity;

import java.util.Date;

/**
 * 资金记录
 */
public class MoneyRecord {

    private Long id;

    /**
     * 金额
     */
    private Long money;

    /**
     * 信息
     */
    private String message;

    /**
     * 用户
     */
    private User user;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 类型
     */
    private MoneyRecordType type;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMoney() {
        return money;
    }

    public void setMoney(Long money) {
        this.money = money;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public MoneyRecordType getType() {
        return type;
    }

    public void setType(MoneyRecordType type) {
        this.type = type;
    }
}
